package com.lesso.yjy.sunflower.domain.repository;

import com.baomidou.mybatisplus.plugins.Page;
import com.lesso.yjy.sunflower.model.AttendanceRecord;
import com.lesso.yjy.sunflower.model.Employee;
import com.lesso.yjy.sunflower.pojo.dto.AttendanceRecordDTO;
import com.lesso.yjy.sunflower.pojo.dto.AttendanceRecordQueryDTO;
import com.lesso.yjy.sunflower.pojo.dto.EmployeeDTO;
import com.lesso.yjy.sunflower.pojo.dto.EmployeeQueryDTO;
import com.lesso.yjy.sunflower.pojo.vo.AttendanceRecordVO;
import com.lesso.yjy.sunflower.pojo.vo.EmployeeVO;

public interface AttendanceRecordRepository {
    Long save(AttendanceRecord record);

    Page<AttendanceRecordVO> getPageList(AttendanceRecordQueryDTO dto);

    Page<AttendanceRecordVO> getCustomPageList(AttendanceRecordQueryDTO dto);

    void removeById(Long id);

    void updateById(AttendanceRecordDTO dto);
}
